﻿<Application x:Class="remes.XDraw.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             StartupUri="XDrawWindow.xaml">

  <Application.Resources>
    <DrawingImage x:Key="LoadDrawingImage">
      <DrawingImage.Drawing>
        <DrawingGroup>
          <GeometryDrawing Brush="#FFFDE153">
            <GeometryDrawing.Pen>
              <Pen Thickness="4" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF000000" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <PathGeometry Figures="M 79,62.7233333333333 L 80,127 L 152,127 L 151,75.4733333333333 L 123,75.0983333333333 C 112.55,75.4420833333333 111.95,62.5670833333333 101.5,62.9108333333333 Z" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Brush>
              <LinearGradientBrush StartPoint="0.5,0" EndPoint="1,1">
                <GradientStop Offset="0.5" Color="#FFFDE153" />
                <GradientStop Offset="1" Color="#FF6B5900" />
              </LinearGradientBrush>
            </GeometryDrawing.Brush>
            <GeometryDrawing.Pen>
              <Pen Thickness="4" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF000000" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <PathGeometry Figures="M 93,80 L 81,127 L 153,127.5 L 166,80.75 Z" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="5" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF0205FC" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <PathGeometry Figures="M 121,58.7233333333333 C 138.6,39.6233333333333 157.4,43.8233333333333 170,62.7233333333333" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="4" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF0205FC" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <LineGeometry StartPoint="170,60.7233333333333" EndPoint="170,44.7233333333333" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="4" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF0205FC" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <LineGeometry StartPoint="168,60.7233333333333" EndPoint="154,60.7233333333333" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
        </DrawingGroup>
      </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="SaveDrawingImage">
      <DrawingImage.Drawing>
        <DrawingGroup>
          <GeometryDrawing>
            <GeometryDrawing.Brush>
              <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
                <GradientStop Offset="0" Color="#FF110FFD" />
                <GradientStop Offset="1" Color="#FF080188" />
              </LinearGradientBrush>
            </GeometryDrawing.Brush>
            <GeometryDrawing.Pen>
              <Pen Thickness="4" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF04004D" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <PathGeometry Figures="M 109,64.7233333333333 L 109,139.723333333333 L 117,148.223333333333 L 196,148.473333333333 L 196,65.0983333333333 Z" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Brush>
              <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
                <GradientStop Offset="0.7" Color="#FFFEFEFE" />
                <GradientStop Offset="1" Color="#FF352E2E" />
              </LinearGradientBrush>
            </GeometryDrawing.Brush>
            <GeometryDrawing.Pen>
              <Pen Thickness="1" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF000000" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <RectangleGeometry Rect="123,64.7233333333333,61,47" RadiusX="0" RadiusY="0" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Brush>
              <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
                <GradientStop Offset="0.2" Color="#FFB7B2B2" />
                <GradientStop Offset="1" Color="#FF5A4B4B" />
              </LinearGradientBrush>
            </GeometryDrawing.Brush>
            <GeometryDrawing.Pen>
              <Pen Thickness="1" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF000000" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <RectangleGeometry Rect="131,120.723333333333,45,28" RadiusX="0" RadiusY="0" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing Brush="#FF000000">
            <GeometryDrawing.Pen>
              <Pen Thickness="1" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF000000" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <RectangleGeometry Rect="138,127.723333333333,14,15" RadiusX="0" RadiusY="0" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
        </DrawingGroup>
      </DrawingImage.Drawing>
    </DrawingImage>
    
    <DrawingImage x:Key="NewDrawingImage">
      <DrawingImage.Drawing>
        <DrawingGroup>
          <GeometryDrawing>
            <GeometryDrawing.Brush>
              <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,1">
                <GradientStop Offset="0.6" Color="#FFF9FBFB" />
                <GradientStop Offset="1" Color="#FF6B68CD" />
              </LinearGradientBrush>
            </GeometryDrawing.Brush>
            <GeometryDrawing.Pen>
              <Pen Thickness="4" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF0A16F2" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <PathGeometry Figures="M 86,46.7233333333333 L 86,128.723333333333 L 147.5,128.723333333333 L 147.25,59.7233333333333 L 136.125,46.2233333333333 Z" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="4" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF0916F2" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <LineGeometry StartPoint="134,47.7233333333333" EndPoint="134,60.7233333333333" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="3" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF0916F2" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <LineGeometry StartPoint="148,60.7233333333333" EndPoint="133,60.7233333333333" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
        </DrawingGroup>
      </DrawingImage.Drawing>
    </DrawingImage>
    
    <DrawingImage x:Key="DeleteShapeImage">
      <DrawingImage.Drawing>
        <DrawingGroup>
          <GeometryDrawing>
            <GeometryDrawing.Brush>
              <RadialGradientBrush Center="0,0" GradientOrigin="0,0" RadiusX="1" RadiusY="1">
                <GradientStop Offset="0" Color="#FFFCDD25" />
                <GradientStop Offset="1" Color="#FFFDF1AB" />
              </RadialGradientBrush>
            </GeometryDrawing.Brush>
            <GeometryDrawing.Pen>
              <Pen Thickness="4" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF33A504" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <RectangleGeometry Rect="52,42,47,42" RadiusX="0" RadiusY="0" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing Brush="#FFFE0000">
            <GeometryDrawing.Geometry>
              <PathGeometry Figures="M 42,99.7233333333333 C 56.7,67.7233333333333 83.3,40.7233333333333 121,29.7233333333333 C 91.15,48.2233333333333 67.35,69.2233333333333 43.5,98.7233333333333 Z" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing Brush="#FFFE0000">
            <GeometryDrawing.Geometry>
              <PathGeometry Figures="M 35,35.7233333333333 C 76,39.4233333333333 92,62.0233333333333 115,90.7233333333333 C 88.7,69.7733333333333 74.3,49.1733333333333 34,37.2233333333333 Z" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
        </DrawingGroup>
      </DrawingImage.Drawing>
    </DrawingImage>
    
    <DrawingImage x:Key="SelectToolImage">
      <DrawingImage.Drawing>
        <DrawingGroup>
          <GeometryDrawing>
            <GeometryDrawing.Brush>
              <LinearGradientBrush StartPoint="0,1" EndPoint="1,1">
                <GradientStop Offset="0" Color="#FFC3C5C5" />
                <GradientStop Offset="1" Color="#FFFFFFFF" />
              </LinearGradientBrush>
            </GeometryDrawing.Brush>
            <GeometryDrawing.Pen>
              <Pen Thickness="3" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF000000" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <PathGeometry Figures="M 73,42.4466666666667 L 114,91.4466666666667 L 98.5,95.4466666666667 L 107.375,117.196666666667 L 93.59375,121.384166666667 L 86.8125,98.5716666666667 L 73.25,103.946666666667 Z" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
        </DrawingGroup>
      </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="EditToolImage">
        <DrawingImage.Drawing>
          <DrawingGroup>
            <GeometryDrawing>
              <GeometryDrawing.Pen>
                <Pen Thickness="7" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF2FA80B" />
              </GeometryDrawing.Pen>
              <GeometryDrawing.Geometry>
                <PathGeometry Figures="M 16,44.7233333333333 C 65.6,69.2233333333333 102.4,-4.77666666666667 138,24.7233333333333" />
              </GeometryDrawing.Geometry>
            </GeometryDrawing>
            <GeometryDrawing>
              <GeometryDrawing.Pen>
                <Pen Thickness="5" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#87010EFD" />
              </GeometryDrawing.Pen>
              <GeometryDrawing.Geometry>
                <EllipseGeometry Center="72,39.7233333333333" RadiusX="20" RadiusY="20" />
              </GeometryDrawing.Geometry>
            </GeometryDrawing>
            <GeometryDrawing>
              <GeometryDrawing.Brush>
                <LinearGradientBrush StartPoint="0,1" EndPoint="1,1">
                  <GradientStop Offset="0" Color="#FFC3C5C5" />
                  <GradientStop Offset="1" Color="#FFFFFFFF" />
                </LinearGradientBrush>
              </GeometryDrawing.Brush>
              <GeometryDrawing.Pen>
                <Pen Thickness="3" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF000000" />
              </GeometryDrawing.Pen>
              <GeometryDrawing.Geometry>
                <PathGeometry Figures="M 73,42.4466666666667 L 114,91.4466666666667 L 98.5,95.4466666666667 L 107.375,117.196666666667 L 93.59375,121.384166666667 L 86.8125,98.5716666666667 L 73.25,103.946666666667 Z" />
              </GeometryDrawing.Geometry>
            </GeometryDrawing>
          </DrawingGroup>
        </DrawingImage.Drawing>
      </DrawingImage>

    <DrawingImage x:Key="LineToolImage">
      <DrawingImage.Drawing>
        <DrawingGroup>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="7" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF33A504" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <LineGeometry StartPoint="50,111" EndPoint="157,66" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="5" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#87010EFD" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <EllipseGeometry Center="157,66" RadiusX="20" RadiusY="20" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="5" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#87010EFD" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <EllipseGeometry Center="50,111" RadiusX="20" RadiusY="20" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
        </DrawingGroup>
      </DrawingImage.Drawing>
    </DrawingImage>


    <DrawingImage x:Key="RectangleToolImage">
      <DrawingImage.Drawing>
        <DrawingGroup>
          <GeometryDrawing>
            <GeometryDrawing.Brush>
              <RadialGradientBrush Center="0,0" GradientOrigin="0,0" RadiusX="1" RadiusY="1">
                <GradientStop Offset="0" Color="#FFFCDD25" />
                <GradientStop Offset="1" Color="#FFFDF1AB" />
              </RadialGradientBrush>
            </GeometryDrawing.Brush>
            <GeometryDrawing.Pen>
              <Pen Thickness="7" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF33A504" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <RectangleGeometry Rect="50,50,100,80" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="5" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#87010EFD" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <EllipseGeometry Center="50,50" RadiusX="20" RadiusY="20" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="5" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#87010EFD" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <EllipseGeometry Center="50,130" RadiusX="20" RadiusY="20" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="5" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#87010EFD" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <EllipseGeometry Center="150,50" RadiusX="20" RadiusY="20" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="5" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#87010EFD" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <EllipseGeometry Center="150,130" RadiusX="20" RadiusY="20" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
        </DrawingGroup>
      </DrawingImage.Drawing>
    </DrawingImage>


    <DrawingImage x:Key="EllipseToolImage">
      <DrawingImage.Drawing>
        <DrawingGroup>
          <GeometryDrawing>
            <GeometryDrawing.Brush>
              <RadialGradientBrush Center="0.2,0.2" GradientOrigin="0.2,0.2" RadiusX="1" RadiusY="1">
                <GradientStop Offset="0" Color="#FFFCDD25" />
                <GradientStop Offset="1" Color="#FFFDF1AB" />
              </RadialGradientBrush>
            </GeometryDrawing.Brush>
            <GeometryDrawing.Pen>
              <Pen Thickness="7" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF33A504" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <EllipseGeometry Center="100,100" RadiusX="50" RadiusY="40" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="5" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#87010EFD" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <EllipseGeometry Center="150,100" RadiusX="20" RadiusY="20" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="5" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#87010EFD" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <EllipseGeometry Center="100,140" RadiusX="20" RadiusY="20" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
        </DrawingGroup>
      </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="PathToolImage">
      <DrawingImage.Drawing>
        <DrawingGroup>
          <GeometryDrawing>
            <GeometryDrawing.Brush>
              <RadialGradientBrush Center="0,0" GradientOrigin="0,0" RadiusX="1" RadiusY="1">
                <GradientStop Offset="0" Color="#FFFCDD25" />
                <GradientStop Offset="1" Color="#FFFDF1AB" />
              </RadialGradientBrush>
            </GeometryDrawing.Brush>
            <GeometryDrawing.Pen>
              <Pen Thickness="7" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#FF33A504" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <PathGeometry Figures="M 50,50 L 100,55 C 110,65 150,90 150,110 C 14,130 80,145 60,150 Z" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="5" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#87010EFD" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <EllipseGeometry Center="50,50" RadiusX="20" RadiusY="20" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="5" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#87010EFD" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <EllipseGeometry Center="100,55" RadiusX="20" RadiusY="20" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="5" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#87010EFD" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <EllipseGeometry Center="150,110" RadiusX="20" RadiusY="20" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
          <GeometryDrawing>
            <GeometryDrawing.Pen>
              <Pen Thickness="5" DashCap="Flat" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" Brush="#87010EFD" />
            </GeometryDrawing.Pen>
            <GeometryDrawing.Geometry>
              <EllipseGeometry Center="60,150" RadiusX="20" RadiusY="20" />
            </GeometryDrawing.Geometry>
          </GeometryDrawing>
        </DrawingGroup>
      </DrawingImage.Drawing>
    </DrawingImage>
  
  </Application.Resources>
</Application>
